package com.cpe.data.domain.member.appoint;

import java.util.Date;

import org.apache.commons.lang3.StringUtils;

import com.sql.data.request.BaseForm;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class MemberAppointForm extends BaseForm {
	private static final long serialVersionUID = -444252042484926249L;

	private String appointId;

	private String studentId;

	private String memberId;

	private Date startTime;

	@Override
	public boolean stopCreate() {
		return StringUtils.isAnyBlank(memberId, appointId) || startTime == null;
	}

	@Override
	public boolean stopUpdate() {
		// TODO Auto-generated method stub
		return false;
	}

}
